<form action="<?=$paypal_url?>" method="post"> 
 
	 <!-- Identify your business so that you can collect the payments. --> 
	 <input type="hidden" name="business" value="<?=$paypal_email?>" /> 
	 
	 <!-- Specify a Buy Now button. --> 
	 <input type="hidden" name="cmd" value="_xclick" /> 
	 
	 <!-- Specify details about the item that buyers will purchase. --> 
	 <input type="hidden" name="item_name" value="Book Order <?=$this->session->userdata('cart_order_id')?>" /> 
	 <input type="hidden" name="amount" value="<?=$cart_total?>" />  
	 <input type="hidden" name="currency_code" value="USD" /> 
	 <!-- input type="hidden" name="return" value="<?=site_url('cart/paypal_return')?>"/>
	 <input type="hidden" name="RETURNURL" value="<?=site_url('cart/paypal_return')?>" /-->
	 <input type="hidden" name="cancel_return" value="<?=site_url('cart/paypal_cancel_return')?>" />
	 <input type="hidden" name="custom" value="<?=site_url('cart/paypal_return')?>" />
	 
	 <!-- Display the payment button. --> 
	 <input type="image" name="submit" border="0" src="https://www.paypal.com/en_US/i/btn/btn_buynow_LG.gif" alt="PayPal - The safer, easier way to pay online" /> 
	 <img alt="" border="0" width="1" height="1" src="https://www.paypal.com/en_US/i/scr/pixel.gif" /> 
</form>